/*
 * Copyright 2010. 
 * 
 * This document may not be reproduced, distributed or used 
 * in any manner whatsoever without the expressed written 
 * permission of xrkol Corp. 
 * 
 * $Rev: Rev $
 * $Author: Author $
 * $LastChangedDate: LastChangedDate $
 *
 */

package com.xrkol.sharelib.dao;

import java.util.List;

import com.xrkol.sharelib.entity.Adult;

/**
 * @author peng.xia
 *
 */
public interface AdultDao extends BaseDao<Adult, String>{

    Adult findByNameAndPhone(String name, String phone);

    Adult findByUserId(String userId);

    List<Adult> listAll(Integer page);

    List<Adult> getAll();


}
